package com.macrohard.admin.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@ApiModel("登录参数")
public class UserDTO implements Serializable {
	@ApiModelProperty("教师工号")
	@NotBlank
	private String id;

	@ApiModelProperty("密码")
	@NotBlank
	private String password;
}
